<?php /* Smarty version 2.6.16, created on 2012-10-10 06:54:39
         compiled from index.tpl */ ?>
<?php echo '
<link rel="stylesheet" href="style/nivo-slider.css" type="text/css" media="screen" />
<script type="text/javascript" src="scripts/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript">
$(window).load(function() {
        $(\'#slider\').nivoSlider();
    });
</script>
<link href=\'http://fonts.googleapis.com/css?family=Dosis:400,200,600\' rel=\'stylesheet\' type=\'text/css\'>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, \'script\', \'facebook-jssdk\'));
</script>

'; ?>
	
<div class="content-right">
	<div class="face_book"><!--img src="images/facebook_snap.jpg" height="285" width="300" /-->
		<div class="fb-like-box" data-href="http://www.facebook.com/pages/NOOBSKOOL/271843409518451" data-width="290" data-height="285" data-show-faces="true" data-stream="false" data-header="true"></div>
	</div>

     
    <div class="advertise" style="overflow:hidden;">
		<h2 title="Advertisement"></h2>
	   <script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
	   <?php echo '
		<script>
			new TWTR.Widget({
			  version: 2,
			  type: \'profile\',
			  rpp: 4,
			  interval: 30000,
			  width: 290,
			  height: 375,
			  theme: {
			    shell: {
				  background: \'#003366\',
				  color: \'#ffffff\'
				},
				tweets: {
				  background: \'#ffffff\',
				  color: \'#000000\',
				  links: \'#0084b4\'
				}
			  },
			  features: {
			    scrollbar: false,
			    loop: false,
			    live: false,
			    behavior: \'all\'
			  }
			}).render().setUser(\'tijuanajackson\').start();
		</script>
		'; ?>
	
		
    </div>
</div>
<div class="content-left">
    <div class="slider-wrapper theme-default">
        <div class="ribbon"></div>
        <div id="slider" class="nivoSlider">
			<?php unset($this->_sections['img']);
$this->_sections['img']['name'] = 'img';
$this->_sections['img']['loop'] = is_array($_loop=$this->_tpl_vars['homenevoArr']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['img']['show'] = true;
$this->_sections['img']['max'] = $this->_sections['img']['loop'];
$this->_sections['img']['step'] = 1;
$this->_sections['img']['start'] = $this->_sections['img']['step'] > 0 ? 0 : $this->_sections['img']['loop']-1;
if ($this->_sections['img']['show']) {
    $this->_sections['img']['total'] = $this->_sections['img']['loop'];
    if ($this->_sections['img']['total'] == 0)
        $this->_sections['img']['show'] = false;
} else
    $this->_sections['img']['total'] = 0;
if ($this->_sections['img']['show']):

            for ($this->_sections['img']['index'] = $this->_sections['img']['start'], $this->_sections['img']['iteration'] = 1;
                 $this->_sections['img']['iteration'] <= $this->_sections['img']['total'];
                 $this->_sections['img']['index'] += $this->_sections['img']['step'], $this->_sections['img']['iteration']++):
$this->_sections['img']['rownum'] = $this->_sections['img']['iteration'];
$this->_sections['img']['index_prev'] = $this->_sections['img']['index'] - $this->_sections['img']['step'];
$this->_sections['img']['index_next'] = $this->_sections['img']['index'] + $this->_sections['img']['step'];
$this->_sections['img']['first']      = ($this->_sections['img']['iteration'] == 1);
$this->_sections['img']['last']       = ($this->_sections['img']['iteration'] == $this->_sections['img']['total']);
?>
			<?php $this->assign('i', $this->_sections['img']['index']+1); ?>
                <img src="uploaded/home_images/<?php echo $this->_tpl_vars['homenevoArr'][$this->_sections['img']['index']]['image_file']; ?>
" alt="<?php echo $this->_tpl_vars['homenevoArr'][$this->_sections['img']['index']]['image_alt']; ?>
" title="#htmlcaption<?php echo $this->_tpl_vars['i']; ?>
" />
			<?php endfor; endif; ?>
               <!-- <img src="images/banner2.jpg" alt="" title="#htmlcaption2" />
                <img src="images/banner3.jpg" alt="" title="#htmlcaption3" />
                <img src="images/banner4.jpg" alt="" title="#htmlcaption4" />-->
            </div>
			<?php unset($this->_sections['desc']);
$this->_sections['desc']['name'] = 'desc';
$this->_sections['desc']['loop'] = is_array($_loop=$this->_tpl_vars['homenevoArr']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['desc']['show'] = true;
$this->_sections['desc']['max'] = $this->_sections['desc']['loop'];
$this->_sections['desc']['step'] = 1;
$this->_sections['desc']['start'] = $this->_sections['desc']['step'] > 0 ? 0 : $this->_sections['desc']['loop']-1;
if ($this->_sections['desc']['show']) {
    $this->_sections['desc']['total'] = $this->_sections['desc']['loop'];
    if ($this->_sections['desc']['total'] == 0)
        $this->_sections['desc']['show'] = false;
} else
    $this->_sections['desc']['total'] = 0;
if ($this->_sections['desc']['show']):

            for ($this->_sections['desc']['index'] = $this->_sections['desc']['start'], $this->_sections['desc']['iteration'] = 1;
                 $this->_sections['desc']['iteration'] <= $this->_sections['desc']['total'];
                 $this->_sections['desc']['index'] += $this->_sections['desc']['step'], $this->_sections['desc']['iteration']++):
$this->_sections['desc']['rownum'] = $this->_sections['desc']['iteration'];
$this->_sections['desc']['index_prev'] = $this->_sections['desc']['index'] - $this->_sections['desc']['step'];
$this->_sections['desc']['index_next'] = $this->_sections['desc']['index'] + $this->_sections['desc']['step'];
$this->_sections['desc']['first']      = ($this->_sections['desc']['iteration'] == 1);
$this->_sections['desc']['last']       = ($this->_sections['desc']['iteration'] == $this->_sections['desc']['total']);
?>
			<?php $this->assign('x', $this->_sections['desc']['index']+1); ?>
			
            <div id="htmlcaption<?php echo $this->_tpl_vars['x']; ?>
" class="nivo-html-caption">
                <h2><?php echo $this->_tpl_vars['homenevoArr'][$this->_sections['desc']['index']]['title']; ?>
</h2>
                <p><?php echo $this->_tpl_vars['homenevoArr'][$this->_sections['desc']['index']]['description']; ?>
</p>
				<a href="<?php if ($this->_tpl_vars['homenevoArr'][$this->_sections['desc']['index']]['banner_link'] != ''):  echo $this->_tpl_vars['homenevoArr'][$this->_sections['desc']['index']]['banner_link'];  else: ?>news.php<?php endif; ?>"><span class="more_news"></span></a>
            </div>
			<?php endfor; endif; ?>      
	</div>
	
    <div class="window"> 
        <div class="windowtitle">Popular Coaches <span class="windowsubtitle">(daily updated)</span></div>
		<div class="windowcontent">
		<div class="coachresume" style="border-right: 1px solid #003366;">
			<div class="coachtitle">Most Lesson</div>
			<div class="coach_list">
				<?php unset($this->_sections['lCoach']);
$this->_sections['lCoach']['name'] = 'lCoach';
$this->_sections['lCoach']['loop'] = is_array($_loop=$this->_tpl_vars['lessonsCoachesArr']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['lCoach']['show'] = true;
$this->_sections['lCoach']['max'] = $this->_sections['lCoach']['loop'];
$this->_sections['lCoach']['step'] = 1;
$this->_sections['lCoach']['start'] = $this->_sections['lCoach']['step'] > 0 ? 0 : $this->_sections['lCoach']['loop']-1;
if ($this->_sections['lCoach']['show']) {
    $this->_sections['lCoach']['total'] = $this->_sections['lCoach']['loop'];
    if ($this->_sections['lCoach']['total'] == 0)
        $this->_sections['lCoach']['show'] = false;
} else
    $this->_sections['lCoach']['total'] = 0;
if ($this->_sections['lCoach']['show']):

            for ($this->_sections['lCoach']['index'] = $this->_sections['lCoach']['start'], $this->_sections['lCoach']['iteration'] = 1;
                 $this->_sections['lCoach']['iteration'] <= $this->_sections['lCoach']['total'];
                 $this->_sections['lCoach']['index'] += $this->_sections['lCoach']['step'], $this->_sections['lCoach']['iteration']++):
$this->_sections['lCoach']['rownum'] = $this->_sections['lCoach']['iteration'];
$this->_sections['lCoach']['index_prev'] = $this->_sections['lCoach']['index'] - $this->_sections['lCoach']['step'];
$this->_sections['lCoach']['index_next'] = $this->_sections['lCoach']['index'] + $this->_sections['lCoach']['step'];
$this->_sections['lCoach']['first']      = ($this->_sections['lCoach']['iteration'] == 1);
$this->_sections['lCoach']['last']       = ($this->_sections['lCoach']['iteration'] == $this->_sections['lCoach']['total']);
?>
					<?php $this->assign('i', $this->_sections['lCoach']['index']+1); ?>
						<a href="javascript:;" onclick="showCoachDetails('lessonscoachdetails_<?php echo $this->_tpl_vars['lessonsCoachesArr'][$this->_sections['lCoach']['index']]['user_id']; ?>
')"><span>#<?php echo $this->_tpl_vars['i']; ?>
 <?php echo $this->_tpl_vars['lessonsCoachesArr'][$this->_sections['lCoach']['index']]['name']; ?>
</span></a>
					
				<?php endfor; endif; ?> 
			</div>
		</div>
		<div class="coachresume" style="border-right: 1px solid #003366;">
			<div class="coachtitle">Highest Ratings</div>
			<div class="coach_list">
				<?php unset($this->_sections['rCoach']);
$this->_sections['rCoach']['name'] = 'rCoach';
$this->_sections['rCoach']['loop'] = is_array($_loop=$this->_tpl_vars['ratingCoachesArr']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['rCoach']['show'] = true;
$this->_sections['rCoach']['max'] = $this->_sections['rCoach']['loop'];
$this->_sections['rCoach']['step'] = 1;
$this->_sections['rCoach']['start'] = $this->_sections['rCoach']['step'] > 0 ? 0 : $this->_sections['rCoach']['loop']-1;
if ($this->_sections['rCoach']['show']) {
    $this->_sections['rCoach']['total'] = $this->_sections['rCoach']['loop'];
    if ($this->_sections['rCoach']['total'] == 0)
        $this->_sections['rCoach']['show'] = false;
} else
    $this->_sections['rCoach']['total'] = 0;
if ($this->_sections['rCoach']['show']):

            for ($this->_sections['rCoach']['index'] = $this->_sections['rCoach']['start'], $this->_sections['rCoach']['iteration'] = 1;
                 $this->_sections['rCoach']['iteration'] <= $this->_sections['rCoach']['total'];
                 $this->_sections['rCoach']['index'] += $this->_sections['rCoach']['step'], $this->_sections['rCoach']['iteration']++):
$this->_sections['rCoach']['rownum'] = $this->_sections['rCoach']['iteration'];
$this->_sections['rCoach']['index_prev'] = $this->_sections['rCoach']['index'] - $this->_sections['rCoach']['step'];
$this->_sections['rCoach']['index_next'] = $this->_sections['rCoach']['index'] + $this->_sections['rCoach']['step'];
$this->_sections['rCoach']['first']      = ($this->_sections['rCoach']['iteration'] == 1);
$this->_sections['rCoach']['last']       = ($this->_sections['rCoach']['iteration'] == $this->_sections['rCoach']['total']);
?>
					<?php $this->assign('i', $this->_sections['rCoach']['index']+1); ?>
						<a href="javascript:;" onclick="showCoachDetails('ratingcoachdetails_<?php echo $this->_tpl_vars['ratingCoachesArr'][$this->_sections['rCoach']['index']]['user_id']; ?>
')"><span>#<?php echo $this->_tpl_vars['i']; ?>
 <?php echo $this->_tpl_vars['ratingCoachesArr'][$this->_sections['rCoach']['index']]['name']; ?>
</span></a>
					
				<?php endfor; endif; ?> 
			</div>
		</div>
		<div class="coachresume" style="border-right: 1px solid #003366;">
			<div class="coachtitle">Featured Coaches</div>
			<div class="coach_list">
				<?php unset($this->_sections['fCoach']);
$this->_sections['fCoach']['name'] = 'fCoach';
$this->_sections['fCoach']['loop'] = is_array($_loop=$this->_tpl_vars['featuredCoachesArr']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['fCoach']['show'] = true;
$this->_sections['fCoach']['max'] = $this->_sections['fCoach']['loop'];
$this->_sections['fCoach']['step'] = 1;
$this->_sections['fCoach']['start'] = $this->_sections['fCoach']['step'] > 0 ? 0 : $this->_sections['fCoach']['loop']-1;
if ($this->_sections['fCoach']['show']) {
    $this->_sections['fCoach']['total'] = $this->_sections['fCoach']['loop'];
    if ($this->_sections['fCoach']['total'] == 0)
        $this->_sections['fCoach']['show'] = false;
} else
    $this->_sections['fCoach']['total'] = 0;
if ($this->_sections['fCoach']['show']):

            for ($this->_sections['fCoach']['index'] = $this->_sections['fCoach']['start'], $this->_sections['fCoach']['iteration'] = 1;
                 $this->_sections['fCoach']['iteration'] <= $this->_sections['fCoach']['total'];
                 $this->_sections['fCoach']['index'] += $this->_sections['fCoach']['step'], $this->_sections['fCoach']['iteration']++):
$this->_sections['fCoach']['rownum'] = $this->_sections['fCoach']['iteration'];
$this->_sections['fCoach']['index_prev'] = $this->_sections['fCoach']['index'] - $this->_sections['fCoach']['step'];
$this->_sections['fCoach']['index_next'] = $this->_sections['fCoach']['index'] + $this->_sections['fCoach']['step'];
$this->_sections['fCoach']['first']      = ($this->_sections['fCoach']['iteration'] == 1);
$this->_sections['fCoach']['last']       = ($this->_sections['fCoach']['iteration'] == $this->_sections['fCoach']['total']);
?>
					<?php $this->assign('i', $this->_sections['fCoach']['index']+1); ?>
						<a href="javascript:;" onclick="showCoachDetails('featuredcoachdetails_<?php echo $this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
')"><span>#<?php echo $this->_tpl_vars['i']; ?>
 <?php echo $this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['name']; ?>
</span></a>
					
				<?php endfor; endif; ?> 
			</div>
		</div>
		<div class="coachresume" style="width: 210px;">
			<?php unset($this->_sections['fCoach']);
$this->_sections['fCoach']['name'] = 'fCoach';
$this->_sections['fCoach']['loop'] = is_array($_loop=$this->_tpl_vars['featuredCoachesArr']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['fCoach']['show'] = true;
$this->_sections['fCoach']['max'] = $this->_sections['fCoach']['loop'];
$this->_sections['fCoach']['step'] = 1;
$this->_sections['fCoach']['start'] = $this->_sections['fCoach']['step'] > 0 ? 0 : $this->_sections['fCoach']['loop']-1;
if ($this->_sections['fCoach']['show']) {
    $this->_sections['fCoach']['total'] = $this->_sections['fCoach']['loop'];
    if ($this->_sections['fCoach']['total'] == 0)
        $this->_sections['fCoach']['show'] = false;
} else
    $this->_sections['fCoach']['total'] = 0;
if ($this->_sections['fCoach']['show']):

            for ($this->_sections['fCoach']['index'] = $this->_sections['fCoach']['start'], $this->_sections['fCoach']['iteration'] = 1;
                 $this->_sections['fCoach']['iteration'] <= $this->_sections['fCoach']['total'];
                 $this->_sections['fCoach']['index'] += $this->_sections['fCoach']['step'], $this->_sections['fCoach']['iteration']++):
$this->_sections['fCoach']['rownum'] = $this->_sections['fCoach']['iteration'];
$this->_sections['fCoach']['index_prev'] = $this->_sections['fCoach']['index'] - $this->_sections['fCoach']['step'];
$this->_sections['fCoach']['index_next'] = $this->_sections['fCoach']['index'] + $this->_sections['fCoach']['step'];
$this->_sections['fCoach']['first']      = ($this->_sections['fCoach']['iteration'] == 1);
$this->_sections['fCoach']['last']       = ($this->_sections['fCoach']['iteration'] == $this->_sections['fCoach']['total']);
?>
			<?php $this->assign('i', $this->_sections['fCoach']['index']+1); ?>
				<div class="coaches" id="featuredcoachdetails_<?php echo $this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
" style="<?php if ($this->_sections['fCoach']['index'] == '0'): ?> display: block; <?php endif; ?>">
					<div style="padding: 5px">
						<a href="coachdetails.php?coach_id=<?php echo $this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
" style="" class="coaches_photo"> 
							<img width="60px" height="60px" src="<?php if ($this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['photo']): ?>uploaded/user_images/thumbs/mid_<?php echo $this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['photo'];  else: ?>images/featured_img.jpg<?php endif; ?>" alt="" border="0"  />
						</a>
						<div style="" class="coaches_name">
							<a href="coachdetails.php?coach_id=<?php echo $this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
"><?php echo $this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['name']; ?>
</a>
						</div>
						<div class="clear"></div>
						
						<div class="coaches_description" id="coaches_description_<?php echo $this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
">
							<div style="overflow: hidden;height: 90px;">
								<?php echo $this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['description']; ?>

							</div>
							<div class="btn">
								<a href="coachdetails.php?coach_id=<?php echo $this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
" target="_self">More</a>
							</div>
						</div>
					</div>
				</div>
          
		 <?php endfor; endif; ?>  
		 
		 <?php unset($this->_sections['fCoach']);
$this->_sections['fCoach']['name'] = 'fCoach';
$this->_sections['fCoach']['loop'] = is_array($_loop=$this->_tpl_vars['ratingCoachesArr']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['fCoach']['show'] = true;
$this->_sections['fCoach']['max'] = $this->_sections['fCoach']['loop'];
$this->_sections['fCoach']['step'] = 1;
$this->_sections['fCoach']['start'] = $this->_sections['fCoach']['step'] > 0 ? 0 : $this->_sections['fCoach']['loop']-1;
if ($this->_sections['fCoach']['show']) {
    $this->_sections['fCoach']['total'] = $this->_sections['fCoach']['loop'];
    if ($this->_sections['fCoach']['total'] == 0)
        $this->_sections['fCoach']['show'] = false;
} else
    $this->_sections['fCoach']['total'] = 0;
if ($this->_sections['fCoach']['show']):

            for ($this->_sections['fCoach']['index'] = $this->_sections['fCoach']['start'], $this->_sections['fCoach']['iteration'] = 1;
                 $this->_sections['fCoach']['iteration'] <= $this->_sections['fCoach']['total'];
                 $this->_sections['fCoach']['index'] += $this->_sections['fCoach']['step'], $this->_sections['fCoach']['iteration']++):
$this->_sections['fCoach']['rownum'] = $this->_sections['fCoach']['iteration'];
$this->_sections['fCoach']['index_prev'] = $this->_sections['fCoach']['index'] - $this->_sections['fCoach']['step'];
$this->_sections['fCoach']['index_next'] = $this->_sections['fCoach']['index'] + $this->_sections['fCoach']['step'];
$this->_sections['fCoach']['first']      = ($this->_sections['fCoach']['iteration'] == 1);
$this->_sections['fCoach']['last']       = ($this->_sections['fCoach']['iteration'] == $this->_sections['fCoach']['total']);
?>
			<?php $this->assign('i', $this->_sections['fCoach']['index']+1); ?>
				<div class="coaches" id="ratingcoachdetails_<?php echo $this->_tpl_vars['ratingCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
" style="">
					<div style="padding: 5px">
						<a href="coachdetails.php?coach_id=<?php echo $this->_tpl_vars['ratingCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
" style="" class="coaches_photo"> 
							<img width="60px" height="60px" src="<?php if ($this->_tpl_vars['ratingCoachesArr'][$this->_sections['fCoach']['index']]['photo']): ?>uploaded/user_images/thumbs/mid_<?php echo $this->_tpl_vars['ratingCoachesArr'][$this->_sections['fCoach']['index']]['photo'];  else: ?>images/featured_img.jpg<?php endif; ?>" alt="" border="0"  />
						</a>
						<div style="" class="coaches_name">
							<a href="coachdetails.php?coach_id=<?php echo $this->_tpl_vars['ratingCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
"><?php echo $this->_tpl_vars['ratingCoachesArr'][$this->_sections['fCoach']['index']]['name']; ?>
</a>
						</div>
						<div class="clear"></div>
						
						<div class="coaches_description" id="coaches_description_<?php echo $this->_tpl_vars['ratingCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
">
							<div style="overflow: hidden;height: 90px;">
								<?php echo $this->_tpl_vars['ratingCoachesArr'][$this->_sections['fCoach']['index']]['description']; ?>

							</div>
							<div class="btn">
								<a href="coachdetails.php?coach_id=<?php echo $this->_tpl_vars['ratingCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
" target="_self">More</a>
							</div>
						</div>
					</div>
				</div>
          
		 <?php endfor; endif; ?> 
		 <?php unset($this->_sections['fCoach']);
$this->_sections['fCoach']['name'] = 'fCoach';
$this->_sections['fCoach']['loop'] = is_array($_loop=$this->_tpl_vars['lessonsCoachesArr']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['fCoach']['show'] = true;
$this->_sections['fCoach']['max'] = $this->_sections['fCoach']['loop'];
$this->_sections['fCoach']['step'] = 1;
$this->_sections['fCoach']['start'] = $this->_sections['fCoach']['step'] > 0 ? 0 : $this->_sections['fCoach']['loop']-1;
if ($this->_sections['fCoach']['show']) {
    $this->_sections['fCoach']['total'] = $this->_sections['fCoach']['loop'];
    if ($this->_sections['fCoach']['total'] == 0)
        $this->_sections['fCoach']['show'] = false;
} else
    $this->_sections['fCoach']['total'] = 0;
if ($this->_sections['fCoach']['show']):

            for ($this->_sections['fCoach']['index'] = $this->_sections['fCoach']['start'], $this->_sections['fCoach']['iteration'] = 1;
                 $this->_sections['fCoach']['iteration'] <= $this->_sections['fCoach']['total'];
                 $this->_sections['fCoach']['index'] += $this->_sections['fCoach']['step'], $this->_sections['fCoach']['iteration']++):
$this->_sections['fCoach']['rownum'] = $this->_sections['fCoach']['iteration'];
$this->_sections['fCoach']['index_prev'] = $this->_sections['fCoach']['index'] - $this->_sections['fCoach']['step'];
$this->_sections['fCoach']['index_next'] = $this->_sections['fCoach']['index'] + $this->_sections['fCoach']['step'];
$this->_sections['fCoach']['first']      = ($this->_sections['fCoach']['iteration'] == 1);
$this->_sections['fCoach']['last']       = ($this->_sections['fCoach']['iteration'] == $this->_sections['fCoach']['total']);
?>
			<?php $this->assign('i', $this->_sections['fCoach']['index']+1); ?>
				<div class="coaches" id="lessonscoachdetails_<?php echo $this->_tpl_vars['lessonsCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
" style="">
					<div style="padding: 5px">
						<a href="coachdetails.php?coach_id=<?php echo $this->_tpl_vars['lessonsCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
" style="" class="coaches_photo"> 
							<img width="60px" height="60px" src="<?php if ($this->_tpl_vars['lessonsCoachesArr'][$this->_sections['fCoach']['index']]['photo']): ?>uploaded/user_images/thumbs/mid_<?php echo $this->_tpl_vars['lessonsCoachesArr'][$this->_sections['fCoach']['index']]['photo'];  else: ?>images/featured_img.jpg<?php endif; ?>" alt="" border="0"  />
						</a>
						<div style="" class="coaches_name">
							<a href="coachdetails.php?coach_id=<?php echo $this->_tpl_vars['lessonsCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
"><?php echo $this->_tpl_vars['lessonsCoachesArr'][$this->_sections['fCoach']['index']]['name']; ?>
</a>
						</div>
						<div class="clear"></div>
						
						<div class="coaches_description" id="coaches_description_<?php echo $this->_tpl_vars['lessonsCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
">
							<div style="overflow: hidden;height: 90px;">
								<?php echo $this->_tpl_vars['lessonsCoachesArr'][$this->_sections['fCoach']['index']]['description']; ?>

							</div>
							<div class="btn">
								<a href="coachdetails.php?coach_id=<?php echo $this->_tpl_vars['lessonsCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
" target="_self">More</a>
							</div>
						</div>
					</div>
				</div>
          
		 <?php endfor; endif; ?> 
		
		</div>
		<div class="clear"></div>
		
			 <!-- <?php unset($this->_sections['fCoach']);
$this->_sections['fCoach']['name'] = 'fCoach';
$this->_sections['fCoach']['loop'] = is_array($_loop=$this->_tpl_vars['featuredCoachesArr']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['fCoach']['show'] = true;
$this->_sections['fCoach']['max'] = $this->_sections['fCoach']['loop'];
$this->_sections['fCoach']['step'] = 1;
$this->_sections['fCoach']['start'] = $this->_sections['fCoach']['step'] > 0 ? 0 : $this->_sections['fCoach']['loop']-1;
if ($this->_sections['fCoach']['show']) {
    $this->_sections['fCoach']['total'] = $this->_sections['fCoach']['loop'];
    if ($this->_sections['fCoach']['total'] == 0)
        $this->_sections['fCoach']['show'] = false;
} else
    $this->_sections['fCoach']['total'] = 0;
if ($this->_sections['fCoach']['show']):

            for ($this->_sections['fCoach']['index'] = $this->_sections['fCoach']['start'], $this->_sections['fCoach']['iteration'] = 1;
                 $this->_sections['fCoach']['iteration'] <= $this->_sections['fCoach']['total'];
                 $this->_sections['fCoach']['index'] += $this->_sections['fCoach']['step'], $this->_sections['fCoach']['iteration']++):
$this->_sections['fCoach']['rownum'] = $this->_sections['fCoach']['iteration'];
$this->_sections['fCoach']['index_prev'] = $this->_sections['fCoach']['index'] - $this->_sections['fCoach']['step'];
$this->_sections['fCoach']['index_next'] = $this->_sections['fCoach']['index'] + $this->_sections['fCoach']['step'];
$this->_sections['fCoach']['first']      = ($this->_sections['fCoach']['iteration'] == 1);
$this->_sections['fCoach']['last']       = ($this->_sections['fCoach']['iteration'] == $this->_sections['fCoach']['total']);
?>
			 <?php $this->assign('i', $this->_sections['fCoach']['index']+1); ?>
			
			<div><div class="coaches"><p><a href="coachdetails.php?coach_id=<?php echo $this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
"> 
				<img src="<?php if ($this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['photo']): ?>uploaded/user_images/thumbs/mid_<?php echo $this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['photo'];  else: ?>images/featured_img.jpg<?php endif; ?>" alt="" border="0"  />
				</a><p><strong><a href="coachdetails.php?coach_id=<?php echo $this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
"><?php echo $this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['name']; ?>
</a></strong></p>
				 Nulla ut sem a augue euismod congue. Maecenas in faucibus odio. <br />
				 <br />
				Nulla ut sem a augue euismod codio. Vestibulum vitae tortor nisi. sollicitudin.<br />
				<br />
				Pellentesque lacus enim, aliquam quis aliquam nec, egestas.</P>
				<p class="btn"><a href="coachdetails.php?coach_id=<?php echo $this->_tpl_vars['featuredCoachesArr'][$this->_sections['fCoach']['index']]['user_id']; ?>
" target="_self">More</a></p></div>
			</div>
			 <?php endfor; endif; ?> -->
		</div>
		
    </div>   
	
	<!-- <div class="window"> 
		<div class="windowtitle">Featured Videos</div>
		<div class="windowcontent">
			<?php unset($this->_sections['videoRow']);
$this->_sections['videoRow']['name'] = 'videoRow';
$this->_sections['videoRow']['loop'] = is_array($_loop=$this->_tpl_vars['latestvdoArr']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['videoRow']['show'] = true;
$this->_sections['videoRow']['max'] = $this->_sections['videoRow']['loop'];
$this->_sections['videoRow']['step'] = 1;
$this->_sections['videoRow']['start'] = $this->_sections['videoRow']['step'] > 0 ? 0 : $this->_sections['videoRow']['loop']-1;
if ($this->_sections['videoRow']['show']) {
    $this->_sections['videoRow']['total'] = $this->_sections['videoRow']['loop'];
    if ($this->_sections['videoRow']['total'] == 0)
        $this->_sections['videoRow']['show'] = false;
} else
    $this->_sections['videoRow']['total'] = 0;
if ($this->_sections['videoRow']['show']):

            for ($this->_sections['videoRow']['index'] = $this->_sections['videoRow']['start'], $this->_sections['videoRow']['iteration'] = 1;
                 $this->_sections['videoRow']['iteration'] <= $this->_sections['videoRow']['total'];
                 $this->_sections['videoRow']['index'] += $this->_sections['videoRow']['step'], $this->_sections['videoRow']['iteration']++):
$this->_sections['videoRow']['rownum'] = $this->_sections['videoRow']['iteration'];
$this->_sections['videoRow']['index_prev'] = $this->_sections['videoRow']['index'] - $this->_sections['videoRow']['step'];
$this->_sections['videoRow']['index_next'] = $this->_sections['videoRow']['index'] + $this->_sections['videoRow']['step'];
$this->_sections['videoRow']['first']      = ($this->_sections['videoRow']['iteration'] == 1);
$this->_sections['videoRow']['last']       = ($this->_sections['videoRow']['iteration'] == $this->_sections['videoRow']['total']);
?>
			<?php $this->assign('a', $this->_sections['videoRow']['index']+1); ?>
			
			<div>
				<div class="video"><a href="videodetails.php?video_id=<?php echo $this->_tpl_vars['latestvdoArr'][$this->_sections['videoRow']['index']]['video_id']; ?>
">
				   <img src="uploaded/video_images/thumbs/mid_<?php echo $this->_tpl_vars['latestvdoArr'][$this->_sections['videoRow']['index']]['video_image']; ?>
" alt="" border="0" /></a>
				<p><strong><a href="videodetails.php?video_id=<?php echo $this->_tpl_vars['latestvdoArr'][$this->_sections['videoRow']['index']]['video_id']; ?>
"><?php echo $this->_tpl_vars['latestvdoArr'][$this->_sections['videoRow']['index']]['video_title']; ?>
</a></strong></p>

				<P>By <?php echo $this->_tpl_vars['latestvdoArr'][$this->_sections['videoRow']['index']]['user']; ?>
<br />
				<?php echo $this->_tpl_vars['latestvdoArr'][$this->_sections['videoRow']['index']]['view_count']; ?>
 Views</p>
				</div>
			</div>
			<?php if ($this->_tpl_vars['a']%3 == '0'): ?><div class="clear"></div><?php endif; ?>
		 <?php endfor; endif; ?>	
		
		</div>
		
	</div>		-->	
						
	<div class="window"> 
		<div class="windowtitle">In the Forums</div>
		<div class="windowcontent"></div>
		
        
    </div>
		<?php echo '
			<script>
				/*$(\'.coaches_description\').niceScroll();{if $smarty.section.fCoach.index eq \'0\'} display: block; {/if}
				function prepareCoachDescription(){
					jQuery.each($(\'.coaches_description\'), function() {
						$(this).niceScroll();
					});
				}
				//prepareCoachDescription();*/
				function showCoachDetails(coach_id){

					if($("#"+coach_id).is(\':visible\')){
						return;
					}
					var i = 0;
					jQuery.each($(\'.coaches\'), function() {
						if($(this).is(\':visible\')){
							$(this).fadeOut(\'fast\', function(){$("#"+coach_id).fadeIn(\'fast\');});
							return false;
						}
						i++;
						
				   });
				   if(i == $(\'.coaches\').length)
						$("#"+coach_id).fadeIn(\'slow\');
				   /*$(\'.coaches\')
				   if(!shown){
							$("#"+coach_id).fadeIn(\'slow\');
						}
						*/
				   
				   //$("#"+coach_id).fadeIn(\'slow\');
	


					
				}
			</script>
		'; ?>

 </div>  
	 
 